package xyz.liut.onmyojihelper.util;

import android.content.Context;

/**
 * Snap
 * </p>
 * Created by liut on 2017/11/20 0020.
 */
public class ScreenUtil {

    public static int getWidth(Context context) {
        return context.getResources().getDisplayMetrics().widthPixels;
    }

    public static int getHeight(Context context) {
        return context.getResources().getDisplayMetrics().heightPixels;

    }

}
